
package com.hlkj.pay.vo.merchant.req;

import com.hlkj.pay.vo.BaseReq;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 服务商支付方式费率配置信息
 * 
 * @TableName t_provider_channel_fee_config
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class MerchantChargeReq extends BaseReq {

    /**
     * 服务商编码
     */
    @Schema(description = "商户号")
    private String sn;
    /**
     * 通道编码
     */
    @Schema(description = "支付金额")
    @NotBlank(message = "支付金额 不能为空")
    private String amount;
    
    @NotEmpty(message = "支付方式编码 不能为空")
    @Schema(description = "支付方式编码")
    private String payWayCode;

    @Schema(description = "支付方式")
    @NotEmpty(message = "支付方式 不能为空")
    private String paySubType;

    @NotNull(message = "充值入口 不能为空")
    @Schema(description = "充值入口 PC端:1  WAP端:2 小程序:3 APP端:4")
    private Integer chargeType;

    @NotNull(message = "充值场景 不能为空")
    @Schema(description = "充值场景 1线下 2线上")
    private Integer sceneType = 1;
    

}
